<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<html>

<head>

</head>
<body class="zh_CN">
<p th:text="${username}">用户名<p>
<p th:text="${password}">密码<p>
<p th:text="${msg}">错误信息<p>
<div class="form">
    <h2>用户登录</h2>
    <form id="login-form" th:action="@{/login}" method="post">
        <i></i><input type="text" id="username" placeholder="用户名" name="username"/>
        <i></i><input type="password" id="password" placeholder="请输入密码" name="password"/>

        <input type="checkbox" name="rememberMe">记住账户<br>

        <input type="submit" id="login_button" class="login_btn" value="登 录"/>
    </form>
</div>
</body>

</html>